home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
008
/
escher.bas
< prev
next >
Wrap
BASIC Source File
|
1986-04-12
|
1KB
|
58 lines
100 REM escher drawing
110 CLS:RANDOMIZE 14:KEY OFF
111 SCREEN 1:C=2
120 FOR J=1 TO 8
130 FOR I=1 TO 100 STEP 5
140 IF C=2 THEN C=1 ELSE C=2
150 LINE(150-I,100-I)-(150+I,100+I),C,B
160 NEXT I
170 IF C=2 THEN C=1 ELSE C=2
180 NEXT J
190 FOR I=1 TO 100 STEP 5
200 LINE(150-I,100-I)-(150+I,100+I),0,B
210 NEXT I
220 LINE (110,130)-(124,128)
230 LINE -(135,130)
240 LINE -(135,150)
250 LINE -(195,140)
260 LINE -(195,47)
270 LINE -(150,40)
280 LINE -(150,70)
290 LINE -(90,60)
300 LINE -(90,143)
310 LINE -(100,145)
320 LINE -(100,75)
330 LINE -(162,84)
340 LINE -(162,52)
350 LINE -(185,56)
360 LINE -(185,137)
370 LINE -(135,145)
380 LINE (150,40)-(160,35)
390 LINE -(205,43)
400 LINE -(205,149)
410 LINE -(125,162)
420 LINE -(125,140)
430 LINE -(100,145)
440 LINE (115,143)-(115,159)
450 LINE -(125,162)
460 LINE (90,60)-(100,56)
470 LINE -(150,64)
480 LINE (110,77)-(110,135)
490 LINE -(135,130)
500 LINE (195,47)-(205,44)
510 LINE (185,137)-(195,140)
520 LINE (162,84)-(172,78)
530 LINE -(172,55)
540 FOR I=1 TO 50
550 PSET ((RND*320)+1,(RND*199)+1),2
560 PSET ((RND*320)+1,(RND*199)+1),3
570 NEXT I
580 CIRCLE (275,25),15
590 PAINT (275,25),1,3
600 CIRCLE (275,25),30,3,,,3/18
610 CIRCLE (275,25),38,3,,,3/18
620 CIRCLE (275,25),34,2,,,3/18
630 LINE (263,18)-(286,22),1,BF
640 LINE (27,27)-(29,29),3
650 A$=INKEY$:IF A$<>" " THEN GOTO 650